package com.gudong.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hl
 * @since 2025-03-05
 */
@Data
@TableName("use_user_info")
@ToString
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("user_name")
    private String userName;
    @TableField("user_wx_id")
    private String userWxId;
    @TableField("type")
    private Integer type;

    @TableField("password")
    private String password;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

}
